// import { BrowserRouter, Routes, Route } from 'react-router-dom';
import Index from "./pages/index";
// import Dashboard from './pages/Dashboard';
import { useRoutes } from "react-router-dom";
import routes from "./router/index.jsx";

export default function App() {
  let element = useRoutes(routes);

  return <>{element}</>;
}
